import {
	getCompanyInfo, //获取清掏公司端情况
	opearation,//操作
	opearOrder,//操作订单
} from '@/api/companyApi'
import {
	getStore,
	setStore
} from '@/util/service'
const company = {
	namespaced: true,
	state: {},
	getters: {},
	mutations: {},
	actions: {
		//获取清掏公司端情况
		GetCompanyInfo({
			state,
			commit,
			dispatch
		}, params) {
			return new Promise((resolve, reject) => {
				getCompanyInfo(params).then(res => {
					resolve(res)
				})
			})
		},	
		//获取清掏公司端情况
		Opearation({
			state,
			commit,
			dispatch
		}, params) {
			return new Promise((resolve, reject) => {
				opearation(params).then(res => {
					resolve(res)
				})
			})
		},
		//操作订单
		OpearOrder({
			state,
			commit,
			dispatch
		}, params) {
			return new Promise((resolve, reject) => {
				opearOrder(params).then(res => {
					resolve(res)
				})
			})
		},
	}
}
export default company
